from .config import ConfigSettings
from .sql_init import init_db, db
from .login_init import init_login, login_manager


def components_init(app) -> None:
    """
    组件注册
    :param app: flask 实例
    """
    init_db(app)
    init_login(app)
